package io.gitee.zhangbinhub.admin.po

import io.swagger.v3.oas.annotations.media.Schema
import jakarta.validation.constraints.NotBlank
import jakarta.validation.constraints.NotNull

@Schema(description = "强制终止流程实例参数")
data class ProcessTerminationPo(
    @field:Schema(description = "流程实例ID", required = true)
    @field:NotNull(message = "流程实例ID不能为空")
    var processInstanceId: Long? = null,
    @field:Schema(description = "原因", required = true)
    @field:NotBlank(message = "原因不能为空")
    var reason: String? = null
)
